//
//  BaseNavigationController.m
//  QingBrushTopic
//
//  Created by Zheng on 2017/9/27.
//  Copyright © 2017年 Zheng. All rights reserved.
//

#import "BaseNavigationController.h"

@interface BaseNavigationController ()

@end

@implementation BaseNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];

    [self.navigationBar setTitleTextAttributes:@{NSFontAttributeName:kMyFont(17),NSForegroundColorAttributeName:[UIColor whiteColor]}];
    self.navigationBar.translucent = NO;
    self.navigationBar.barTintColor = kMY_GREEN_COLOR;
    self.navigationBar.tintColor = kMY_GREEN_COLOR;
    
    self.navigationBar.hidden = YES;
    
    //TODO: 设置返回按钮样式
//    UIImage *backButtonImage = [kIMAGE(@"") imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
//    self.navigationBar.backIndicatorImage = backButtonImage;
//    self.navigationBar.backIndicatorTransitionMaskImage = backButtonImage;

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
